home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 45
/
Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso
/
Aminet
/
dev
/
c
/
vbcc.lha
/
vbcc
/
targets
/
m68k-amigaos
/
include
/
time.h
< prev
Wrap
C/C++ Source or Header
|
2001-04-28
|
1KB
|
53 lines
#pragma begin_header
#ifndef __TIME_H
#define __TIME_H 1
#ifndef __TIME_T
#define __TIME_T 1
typedef long time_t;
#endif
#ifndef __CLOCK_T
#define __CLOCK_T 1
typedef long clock_t;
#endif
#ifndef __SIZE_T
#define __SIZE_T 1
typedef unsigned long size_t;
#endif
#undef NULL
#define NULL ((void *)0)
struct tm {
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
/* long tm_gmtoff;
char *tm_zone;*/
};
time_t time(time_t *);
double difftime(time_t,time_t);
char *ctime(const time_t *);
char *asctime(const struct tm *);
clock_t clock(void);
struct tm *gmtime(const time_t *);
struct tm *localtime(const time_t *);
time_t mktime(struct tm *);
size_t strftime(char *,size_t,const char *,const struct tm *);
#define CLOCKS_PER_SEC 50 /* z.Z. wohl nutzlos */
#define difftime(a,b) ((double)((a)-(b)))
#endif
#pragma end_header